var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
    "msg": "OK",
    "code": 0,
    "data": [
      {
        "interval": "9:30-10:00",
        "pnl": 203.81,
        "times": 3
      }, {
        "interval": "10:00-10:30",
        "pnl": 496.75,
        "times": 3
      }, {
        "interval": "10:30-11:00",
        "pnl": 0,
        "times": 0
      }, {
        "interval": "11:00-11:30",
        "pnl": 168.15,
        "times": 2
      }, {
        "interval": "13:00-13:30",
        "pnl": 0,
        "times": 0
      }, {
        "interval": "13:30-14:00",
        "pnl": -42.39,
        "times": 4
      }, {
        "interval": "14:00-14:30",
        "pnl": 0,
        "times": 0
      }, {
        "interval": "14:30-15:00",
        "pnl": 0,
        "times": 0
      }
    ]
  })
}
